<?php get_header(); ?>    
    
    <div class="left_content">

       <?php
         global $post;
         $myposts = get_posts('numberposts=1&category_name=Featured Big');
         foreach($myposts as $post) :
           setup_postdata($post);
         ?>

[metaslider id=30]
      <div class="featured_big">
        <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('featured-big'); ?></a>
        
        <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
        
       <p><?php $temp_arr_content = explode(" ",substr(strip_tags(get_the_content()),0,120)); $temp_arr_content[count($temp_arr_content)-1] = ""; $display_arr_content = implode(" ",$temp_arr_content); echo $display_arr_content; ?><?php if(strlen(strip_tags(get_the_content())) > 120) echo "..."; ?></p>
      </div><!--//featured_big-->
      
        <?php endforeach; ?>
      
      
       <?php
         global $post;
         $myposts = get_posts('numberposts=4&category_name=Featured Medium');
         $x = 0;
         foreach($myposts as $post) :
           setup_postdata($post);
         ?>
         
         <?php if($x == 0 || $x == 2) { ?>
      <div class="featured_medium left">
        <?php } else { ?>
      <div class="featured_medium right">
        <?php } ?>
        <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('featured-medium'); ?></a>
        
        <h3><a href="<?php the_permalink(); ?>"><?php echo substr(get_the_title(),0,50); ?></a></h3>
        <p><?php $temp_arr_content = explode(" ",substr(strip_tags(get_the_content()),0,60)); $temp_arr_content[count($temp_arr_content)-1] = ""; $display_arr_content = implode(" ",$temp_arr_content); echo $display_arr_content; ?><?php if(strlen(strip_tags(get_the_content())) > 60) echo "..."; ?></p>
      </div><!--//featured_medium-->
        
        <?php $x++; ?>
        <?php endforeach; ?>
      
    
    </div><!--//left_content-->
    
<?php get_sidebar(); ?>

<?php get_footer(); ?>